﻿using System.Collections.Generic;
using System.ServiceModel;
using Navigant.Common;
using Navigant.DataContracts;

namespace Navigant.ServiceInterfaces
{
    [ServiceContract(Namespace = ServiceConstants.WebServiceNamespace)]
    public interface ICustodianService
    {
        [OperationContract]
        List<CustodianContract> GetCustodians(CaseContract parentCase);

        [OperationContract]
        void ImportCustodians(CaseContract parentCase, List<CustodianContract> custodians);

        [OperationContract]
        List<CustodianContract> GetCustodiansWithExtraCriteria(CaseContract parentCase,
            string extraCriteriaFieldName, string extraCriteriaFieldValue);

        [OperationContract]
        List<string> GetExtraCriteriaPossibleValues(CaseContract parentCase, 
            string extraCriteriaFieldName);
    }
}
